<template>
  <el-row class="h100">
    <el-col class="h100" :span="12">
      <MyMap>
        <MapTdtLayer url="http://t0.tianditu.com/DataServer?T=vec_c&x={x}&y={y}&l={z}"></MapTdtLayer>
        <MapSupermapLayer
          url="http://123.127.160.203:8091/iserver/services/map-nercita_cloud/rest/maps/hlj_ctpf_all?prjCoordSys={epsgCode:4326}"
        ></MapSupermapLayer>
      </MyMap>
    </el-col>
    <el-col class="h100" :span="12">
      <el-table :data="state.tableData.data" v-loading="state.tableData.loading" border>
        <el-table-column prop="roleName" label="样点数量" show-overflow-tooltip></el-table-column>
        <el-table-column prop="roleSign" label="样本集数量" show-overflow-tooltip width="120px"></el-table-column>
        <el-table-column prop="sort" label="最大值" show-overflow-tooltip></el-table-column>
        <el-table-column prop="status" label="中值" show-overflow-tooltip></el-table-column>
        <el-table-column prop="describe" label="最小值" show-overflow-tooltip></el-table-column>
        <el-table-column prop="createTime" label="平均值" show-overflow-tooltip></el-table-column>
        <el-table-column prop="geshi" label="标准差" show-overflow-tooltip></el-table-column>
        <el-table-column prop="leixing" label="变异系数" show-overflow-tooltip width="120px"></el-table-column>
      </el-table>
    </el-col>
  </el-row>
</template>

<script setup lang="ts">
import { MyMap, MapTdtLayer, MapSupermapLayer } from '@/map/index';
import { reactive } from 'vue';

const state = reactive({
  tableData: {
    data: [],
    loading: false,
  },
});
</script>
